Micron Document
Fox's Git Mirrors

Commit 3f5af2b26bc46080cf30ff10ab848b4777ddb6ee


Parents : 79aa462
Author : Mark Qvist <mark@adepta.io>
Date : 2019-01-07T12:09:41+01:00

Frame size increased to ethernet-compliant MTU

Changes

3 files changed, 4 insertions(+), 11 deletions(-)

D config.h -4

Diff

diff --git a/config.h b/config.h
deleted file mode 100755
index 86203cf..0000000
--- a/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef CONFIG_H
-#define CONFIG_H
-
-#endif
\ No newline at end of file

diff --git a/protocol/AX25.h b/protocol/AX25.h
index 7915e93..40862cc 100755
--- a/protocol/AX25.h
+++ b/protocol/AX25.h
@@ -6,12 +6,9 @@
#include "device.h"
#include "hardware/AFSK.h"
-#define AX25_MIN_FRAME_LEN 18
-#ifndef CUSTOM_FRAME_SIZE
- #define AX25_MAX_FRAME_LEN 792
-#else
- #define AX25_MAX_FRAME_LEN CUSTOM_FRAME_SIZE
-#endif
+#define AX25_MIN_FRAME_LEN 1
+#define AX25_MAX_FRAME_LEN 1532
+
#define AX25_CRC_CORRECT 0xF0B8

diff --git a/protocol/KISS.c b/protocol/KISS.c
index eaf1adc..9ddc860 100755
--- a/protocol/KISS.c
+++ b/protocol/KISS.c
@@ -110,7 +110,7 @@ void kiss_serialCallback(uint8_t sbyte) {
} else if (IN_FRAME && frame_len < AX25_MAX_FRAME_LEN) {
// Have a look at the command byte first
if (frame_len == 0 && command == CMD_UNKNOWN) {
- // MicroModem supports only one HDLC port, so we
+ // OpenModem supports only one HDLC port, so we
// strip off the port nibble of the command byte
sbyte = sbyte & 0x0F;
command = sbyte;

Served by rngit 1.5.0 - Generated in 0.04s